﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--[if IE 6 ]>
	<html class="ie6">
	<![endif]-->
	<!--[if IE 7 ]>
		<html class="ie7">
		<![endif]-->
		<html xmlns="http://www.w3.org/1999/xhtml">
			<head>
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
				<meta name="viewport" content="width=device-width, initial-scale=1.0">
				<title>
					{config.webtitle}
				</title>
				<meta content="{config.webkeyword}" name="keywords" />
				<meta content="{config.webdescription}" name="description" />
				<!--css-->
				<%template src="cssjs.html" %>
					<!--/css-->
                    <script type="text/javascript" src="<%templateskin%>/js/cart1.js"></script>
			</head>
			<body>
				<div class="wrapper">
					<!--Header-->
					<%template src="_header.html" %>
						<!--/Header-->
						<script type="text/javascript">
						    function CartAmountTotal(obj) {
						        if (isNaN($(obj).val())) {

						            $(obj).val("0");
						        }

						        var id1 = $("#id1").val() * 350;
						        var id2 = $("#id2").val() * 980;
						        var order_amount = id1 + id2;
						        $("#goods_amount").text(order_amount.toFixed(2));

						        $("#price1").text(order_amount.toFixed(2));
						    }
						    Data = [];
						    function Cart() {

						        var drd = new Date();
						        drd.setDate(drd.getDate() + 2);

						        if (!isNaN($("#id1").val())) {

						            if ($("#id1").val() != 0) {
						                Data.push({ "id": 0, g: [], "e": drd, "t": 1, "a": 0, "s": 0 });
						                Data[0].g.push({ "id": 138, "q": $("#id1").val(), "j": 350 });
						            }
						        }

						        if (!isNaN($("#id2").val())) {
						            if ($("#id2").val() != 0) {
						                Data.push({ "id": 0, g: [], "e": drd, "t": 1, "a": 0, "s": 0 });
						                if ($("#id1").val() == 0) {
						                    Data[0].g.push({ "id": 139, "q": $("#id2").val(), "j": 980 });
						                }
						                else {
						                    Data[1].g.push({ "id": 139, "q": $("#id2").val(), "j": 980 });
						                }
						            }
						        }

						        if (Data.length == 0) {
						            alert("您购买的礼品卡为0张!");
						            return;
						        }
						        CartAdd(this, '{config.webpath}', 1, '<%linkurl("shopping","confirm")%>');
						    }
						</script>
						<div id="page_modules">
							<div class="center_wrapper center_lineGreen clearfix">
								<div class="left_con_m">
									<div class="tile_left_m">
										<div class="tile_zh">
											Order Your Gift Card Today!
										</div>
										<div class="tile_en">
											<em class="black">
												Order
											</em>
											<em class="darkGreen">
												YOUR
											</em>
											<em class="lightGreen">
												JUICEUP
											</em>
										</div>
									</div>
									<div class="order_warp">
										<div class="order_step">
											<ul>
												<li class="selected">
													Step 1: Purchase your Gift Card
												</li>
												<li>
												Step 2: Confirm
												</li>
												<li>
													Step 3: Payment
												</li>
											</ul>
										</div>
										<div class="order_selected_2">
											<div class="tile">
												Your current selection:
											</div>
											<div class="info">
												<em>
													gift card
												</em>
												JuiceUp offers 2 types of Gift Card -- One-day Detox Program and Three-day Detox Program. Treat your friend with this trendy and healthy gift now! <br />
                                                If you already have a JuiceUp Gift Card, please go <a style="color: #e4007f; " href="<%linkurl("goods")%>">back</a>to the previous page, select your preferred cleansing program and enter the Gift Card serial number before proceeding to payment.


											</div>
										</div>
										<div class="order_selected_2" style="border-bottom:0;">
											<div class="tile">
												Please select your Gift Card type:
											</div>
											<div class="info">
												<div class="lpk_item">
													<ul>
														<li>
															<span class="img">
																<img src="<%templateskin%>/images/lpk01.gif" />
															</span>
															<label>
																Quantity：
																<input type="text" id="id1" title="129" class="inputtet" onblur="CartAmountTotal(this, 350);"
																 placeholder="Please enter the number of"
																/>
															</label>
															<p>
																One-day Detox Program, Price: RMB350
															</p>
														</li>
														<li>
															<span class="img">
																<img src="<%templateskin%>/images/lpk02.gif" />
															</span>
															<label>
																Quantity：
																<input type="text" id="id2" title="130" onblur="CartAmountTotal(this, 980);"
																 class="inputtet" 
																placeholder="Please enter the number of" />
															</label>
															<p>
																Three-day Detox Program, Price: RMB980
															</p>
														</li>
													</ul>
												</div>
												<div class="lpk_p">
									<span  class="darkGreen" style=" font-size: 16px;">Kind Reminders:</span>			<br />
                1. JuiceUp offers 2 types of Gift Card -- One-day Detox Program and Three-day Detox Program.<br />
2. Once you have completed your purchase, we will courier the Gift Card to your address.<br />
3. Scratch off the back of the Gift Card to obtain the unique serial number. After you select your preferred detox program (One-day or Three-day), please enter the serial number before proceeding to the payment screen.<br />
4. Gift Card cannot be used with any other offers. <br />
5. Gift Card cannot be used if you choose to pay at the time of delivery.<br />
                </div>
											</div>
										</div>
									</div>
								</div>
								<div class="right_con_m">
									 <p class="hotLineRight">Please feel free to inquire:<br />order@juiceupcleanse.com
										</p>
									<div class="orderConf">
										<h5>
											  Confirm order:
										</h5>
										<div class="price">
											Product：¥
											<span id="goods_amount">
											0</span>
											RMB
										</div>
										<div class="shipping">
											Delivery charge：¥ 0 RMB
										</div>
										<div class="total">
											Total ：¥
											<span id="price1">
											0</span>
											RMB
										</div>
										<div class="btn_next">
											<a href="javascript:void(0);" onclick="Cart();">
												Next
											</a>
										</div>
									</div>
									<!--right-->
									<%template src="right.html" %>
										<!--/right-->
								</div>
							</div>
						</div>
						<!--Footer-->
						<%template src="_footer.html" %>
							<!--/Footer-->